<?php

class SingletonNombre extends Singleton
{
	private $val=0;
	
	public function inc() {
		$this->value++; 
	}
	public function getValue() { 
		return $this->value++;
	}
}
?>
